/***
 * * PROJECT
 * *    ATaG
 * * VERSION
 * *    $Revision: 1.2 $
 * * DATE
 * *    $Date: 2008/10/07 12:57:37 $
 * * LOG
 * *    $Log: CommPattern.java,v $
 * *    Revision 1.2  2008/10/07 12:57:37  animesh
 * *    removed GPL License [will re-add to all files later]
 * *
 * *    Revision 1.1  2006/12/14 18:59:58  lmottola
 * *    Modified Estimator interface.
 * *
 * *
 * *   ATaG (Abstract Task Graph) - Data-driven Macroprogramming for
 * *                                Sensor Networks
 * *
 ***/

package atag.compiler;

import atag.runtime.ln.LNScope;

/**
 * @author Luca Mottola <a
 *         href="mailto:mottola@elet.polimi.it">mottola@elet.polimi.it</a>
 * 
 */
public class CommPattern {

	private int nodeId;

	private LNScope commScope;

	public CommPattern(int nodeId, LNScope scope) {

		this.nodeId = nodeId;
		this.commScope = scope;
	}

	public LNScope getCommScope() {
		return commScope;
	}

	public int getNodeId() {
		return nodeId;
	}
}
